﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics.SymbolStore;
using System.Security.Principal;
using System.Text;

namespace NP.BPMReportPlatform.Entities.NPPlatformManage
{
    public abstract class BaseEntity
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public Guid Id { get; set; }

        public Guid? CreatorId { get; set; }

        public DateTime CreationTime { get; set; }

        public Guid? LastModifierId { get; set; }

        public DateTime? LastModificationTime { get; set; }

        public bool IsDeleted { get; set; }

        public Guid? DeleterId { get; set; }

        public DateTime? DeletionTime { get; set; }

        public Guid? TenantId { get; set; }
    }
}
